package com.example.zrdemo1;

import javax.xml.crypto.Data;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.TimeZone;

public class test {
    public static void main(String[] args) {

        TimeZone.setDefault(TimeZone.getTimeZone("CST"));
        System.out.println(LocalDateTime.now());
        System.out.println(new Date());
    }
}
